package com.example.text4;

public class Data {
    private  int id;
    private String player;
    private String sing;
    private String url;
    private long time;

    public Data() {
    }

    public Data(int id, String player, String sing, String url, long time) {
        this.id = id;
        this.player = player;
        this.sing = sing;
        this.url = url;
        this.time = time;
    }

    public Data(int id, String title, String player, String url, String time) {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPlayer() {
        return player;
    }

    public void setPlayer(String player) {
        this.player = player;
    }

    public String getSing() {
        return sing;
    }

    public void setSing(String sing) {
        this.sing = sing;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Data{" +
                "id=" + id +
                ", player='" + player + '\'' +
                ", sing='" + sing + '\'' +
                ", url='" + url + '\'' +
                ", time=" + time +
                '}';
    }
}
